package com.swl.small.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

//2级分VO
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catalog2Vo {

    private String Catalog1Id; //1级父分类id

    private List<Catalog3Vo> catalog3List; //3级子分类

    private String id;

    private String name;

    //3级分类VO
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catalog3Vo {

        private String Catalog2Id; //2级父分类id

        private String id;

        private String name;
    }
}
